Toggle navigation
Search
思元的開發筆記
Programming
Unity
LeetCode
Golang
Game Demos
Archive
Blog
About
思元的開發筆記
關於 web service, unity, blogger 等軟體工程筆記
×
Search dev.twsiyuan.com
LeetCode #10 Regular Expression Matching
'.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the e...
Read More
王思元
8:31 下午
題目解題
,
LeetCode
Unity AssetBundle 資料列表載入以及打包架構思考,使用 Pokémon 作為範例
最近社群有看到有人詢問,關於如何在 Unity 中,設計敵人列表的 AssetBundle 資源加載架構設計,例如之前釋出一版本包含敵人 A, B, 以及 C 種類,在之後又追加敵人 D 以及 E 的資料,要如何處理這多出來的資源載入,使得原先的資源可以不用重新下載,只需要...
Read More
王思元
11:12 下午
程式語言
,
C-sharp
,
Unity
OpenSSL 建立 CSR 找不到 openssl.cnf 錯誤處理
在處理申請 SSL 用的憑證 (Certificate) 所遇到的問題,向憑證簽發商 (Certificate authority, CA) 申請憑證前,需要先建立準備 CSR (Certificate Signing Request),而透過 openssl 指...
Read More
王思元
6:30 下午
網站
LeetCode #6 ZigZag Conversion
記錄 LeetCode #6 ZigZag 思考解法的過程筆記,並使用 Go 來實作。
Read More
王思元
9:35 下午
題目解題
,
LeetCode
Unity 根據美術需求客製化 Sprite shader,基於官方 shader 開始改起
在社群中看到有人詢問 2D 遊戲上的特殊效果如何製作,從需求中得知這種要求,能直接改 shader 是最快了,畢竟 shader 可以決定每一個 Pixel 最終呈現顏色的可程式化著色器 (Programmable shader) 呢。因此就好奇跟作者 Leo Wang...
Read More
王思元
9:00 上午
程式語言
,
Shader
,
Unity
LeetCode #1 #167 #653 Two Sum
最近再嘗試使用 Go 來解 LeetCode 上的題目,剛好解完這三個非常相似的簡單題目,因此寫下筆記紀錄。
Read More
王思元
9:25 下午
題目解題
,
LeetCode
較新的文章
較舊的文章
粉絲專頁
本週熱門
網誌存檔
贊助廣告
粉絲專頁
每周熱門
建置 Unity iOS xcode 專案遇到的錯誤與解決方案 (Linker error)
建置 xcode 專案丟出的錯誤訊息:Undefined symbols 最近要在 Unity 建置 iOS 專案遇到的錯誤問題,第一次跑整個建置流程,先在 Unity 執行遊戲建置產生 xcode 專案,再開啟 xcode 專案進行 app 打包建置,但卻遇到以下 li...
TortoiseGit 配置 PuTTY Key
每次使用 TortoiseGit 進行專案遠端的 Pull/Push 都需要輸入一次認證,次數多了覺得麻煩懶惰,怎麼沒法記憶認證密碼這一回事?原來只是不會用而已…,以下筆記使用 PuTTY 建立 SSH Key,讓 Git 使用 SSH Key 認證,而不用每次進行遠端操作時,...
C++ Library callback using C# in Unity and cross thread call
由社團文章討論所做的測試,主要是有人詢問,在外部 C++ library callback 函數中,呼叫 StartCoroutine 而導致錯誤訊息 StartCoroutine can only be called from the main thread。這明顯是一個跨執...
Unity WebRequest
在 Unity 建立 Web Request,向指定網址資源送出 HTTP 要求 (Request),等待遠端伺服器回應 (Response),抓取回應得資料內容 (Content) 進行處理。 關於 HTTP 的資料傳輸結構,可以參考的「 HTTP 淺談,使用 PostMa...
Unity Platformer 2D: Character Movement using Physical
物理與碰撞 想要在 Unity 中使用其物理引擎控制 2D 遊戲物件,Rigidbody2D,這一個組件(Component)是最重要的核心。把 Rigidbody2D 加上 2D 碰撞體(2D Colliders)放在同一個 GameObject 上,即可在遊戲中看到自由落...
Unity5 Editor ReorderableList
ReorderableList 整理使用 Unity ReorderableList 筆記,希望以後有範本可以直接複製貼上,不用每次都要重新找文章,依樣畫葫蘆重做一次。 // Path: /Scripts/ShopMenu.cs using UnityEngine; ...
Unity Debug Case
這篇起因來自於 Facebook 遊戲開發者社團的 這篇求助文 。 先搞清楚作者在問什麼吧 這是錯誤訊息,導致我無法鍵入 1234 去改變動畫的動作,我應該怎麼排解呢? 錯誤?經過這麼多年寫程式經驗,對於錯誤這關鍵字太敏感了,第一個冒出的想法疑問是「是什麼錯誤?」「有沒...
Unity Platformer 2D: Character Animations
延續上一篇 Character 2D Movement using Physical in Unity 的練習,繼續使用 FGJ 活動中,團隊所繪製的素材繼續練習。這次要結合之前的角色移動以及跳躍功能,加上播放對應的動畫。 Prepare Animation Clips...
Unity Editor: Apply multiple prefabs
這是一段在 Unity Editor 中小工具 (test on Unity5.3.5),一次操作對在場景中每一個選取的 Prefab objects,執行 Apply 將修改寫入到 Prefab 資料中。 文章結構先說結論,先介紹程式碼以及已知議題 (Issues),再說明...
Rebase a fork using TortoiseGit
工作需求,要將 Fork 專案 (某個 Repository 的副本),對於原始的 Repository,做一次 Rebase 更新基底程式碼,簡單紀錄概念以及操作步驟。 想法概念 下面兩張圖解釋一切,希望 Master 後續的版本更新(Commits),能讓 Featur...
網誌存檔
►
2018
( 27 )
►
10月
( 1 )
►
9月
( 1 )
►
8月
( 1 )
►
6月
( 3 )
►
5月
( 5 )
►
4月
( 4 )
►
3月
( 1 )
►
2月
( 6 )
►
1月
( 5 )
▼
2017
( 59 )
►
12月
( 4 )
►
11月
( 3 )
▼
10月
( 6 )
LeetCode #10 Regular Expression Matching
Unity AssetBundle 資料列表載入以及打包架構思考,使用 Pokémon 作為範例
OpenSSL 建立 CSR 找不到 openssl.cnf 錯誤處理
LeetCode #6 ZigZag Conversion
Unity 根據美術需求客製化 Sprite shader,基於官方 shader 開始改起
LeetCode #1 #167 #653 Two Sum
►
9月
( 5 )
►
8月
( 5 )
►
7月
( 5 )
►
6月
( 5 )
►
5月
( 4 )
►
4月
( 5 )
►
3月
( 8 )
►
2月
( 6 )
►
1月
( 3 )
►
2016
( 44 )
►
12月
( 3 )
►
11月
( 2 )
►
10月
( 6 )
►
9月
( 4 )
►
8月
( 5 )
►
7月
( 4 )
►
6月
( 4 )
►
5月
( 2 )
►
4月
( 2 )
►
3月
( 3 )
►
2月
( 6 )
►
1月
( 3 )
►
2015
( 1 )
►
12月
( 1 )
贊助廣告